import Router from 'vue-router';
import Vue from 'vue';

import Base from '@/router/modules/_base';
import Management from '@/router/modules/management'

Vue.use(Router);

export const routes = [
    ...Management,
    ...Base,
];

/**
 *
 * @type {VueRouter}
 */
let routers = new Router({
    mode: 'history',
    base: __dirname,
    routes
});

export default routers;